import request from '@/utils/request'

// 查询角色列表
export function listPos(query) {
  return request({
    url: '/certificate/pos/list',
    method: 'get',
    params: query
  })
}

export function addPos(pos) {
  return request({
    url: '/certificate/pos',
    method: 'post',
    data: pos
  })
}


export function deletePos(idsStr) {
  return request({
    url: '/certificate/pos/'+idsStr,
    method: 'delete'
  })
}
